<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        html,body{
            height: 100%;
            background-color:cadetblue;
        }
        ul{
            list-style: none;
            width: 120px;
            height: 120px;
            margin: 0 auto;
            margin-top: 100px;
            border-radius: 10px;
            background-color:tomato;
            box-sizing: border-box;
            box-shadow:-2px -2px 2px white , 2px 2px 2px black;
        }
        li{
            width: 40px;
            height: 40px;
            background-color:brown;
            margin: 10px;
        }
        ul li label{
            width: 40px;
            height: 40px;
            line-height: 40px;
            text-align: center;
        }
        ul li input{
            /* width: 40px; */
            /* height: 40px; */
            /* display: none; */
        }
    </style>
</head>
<body>
 
    <ul>
        <li>
           <input id="check1" type="checkbox">
           <label for="check1">
               <span class="iconfont"></span>
           </label> 
        </li>
    </ul>
</body>
</html>